home *** CD-ROM | disk | FTP | other *** search
- <%@ Register TagPrefix="ProgVB" TagName="PagingBar" src="PagingBar.ascx" %>
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="TestPage.aspx.vb" Inherits="UserControlsDemo.TestPage" trace="False" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title>TestPage</title>
- <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
- <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- </HEAD>
- <body>
- <form id="Form1" method="post" runat="server">
- <H1>PagingBar User Control Demo</H1>
- <P>This page lets you test the PagingBar user control. Initially the control lets
- you simulate navigation through 50 pages (the actual page number is showed in
- the cyan strip), but you can change this by entering a new value and clicking
- on the Update button. By selecting the checkbox control on the bottom you can
- dynamically create another instance of the PagingBar user control.</P>
- <P> </P>
- <P><asp:label id="lblPageData" runat="server" Width="462px" BackColor="#C0FFFF"></asp:label></P>
- <P><PROGVB:PAGINGBAR id="PagingBar1" runat="server"></PROGVB:PAGINGBAR></P>
- <P>Number of pages:
- <asp:textbox id="txtPages" runat="server" Width="60px"></asp:textbox><asp:button id="btnUpdate" runat="server" Text="Update"></asp:button></P>
- <HR width="100%" SIZE="1">
- <P><asp:checkbox id="chkShowControl" runat="server" Text="Show an additional User Control" AutoPostBack="True"></asp:checkbox></P>
- <P>
- <asp:PlaceHolder id="PlaceHolder1" runat="server"></asp:PlaceHolder></P>
- </form>
- </FORM>
- </body>
- </HTML>
-